home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 26
/
Cream of the Crop 26.iso
/
program
/
qlib205.zip
/
QLIB.ZIP
/
C
/
ERR-P.H
< prev
next >
Wrap
Text File
|
1996-12-07
|
353b
|
22 lines
void _error_(byte *s,byte a) {
printf("Error:%s\n",s);
if (a) {
printf("File:%s\n",buffn[ch]);
printf("Line:%d\n",bufln[ch]);
}
flush();
if (ho1on) close(ho1);
close(ho2);
unlink("asm.tmp");
unlink("_str_.tmp");
exit(2);
}
void errorf(byte *s) {
_error_(s,1);
}
void error(byte *s) {
_error_(s,0);
}